home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / program / misc / memstat.lha / MemStat / MemStat.doc < prev    next >
Text File  |  1995-08-14  |  4KB  |  100 lines

  1. Hi there.. 
  2.  
  3. This is MemStat V0.1 , a little Tool i've written because i wanted
  4. to know something about Memory-Fragmentation in the Amiga.
  5.  
  6. ------------------------ Legal hurtz ----------------------------
  7.  
  8. This Program is Giftware. If you like it, sent any gifts to me.
  9. (cans of bex, chicks, 060-processor boards or anything you like ;)) 
  10.  
  11. You may give the Program to anyone but only on a non-profit-basis.
  12.  
  13. Use the Program on your own risk ! Don't blame me for any harm
  14. the Proggy has done to you or you Computer ;))
  15.  
  16.  
  17. ----------- Why do i need to know about mem-fragmentation--------
  18.  
  19. Well.. Its a question of system performance. If your Program causes
  20. bad memory fragmentation, all programs using memory in a dynamic way 
  21. will slow down !
  22.  
  23. (The more memory is fragmented, the longer exec has to search for a 
  24. fitting memory block on a memory request)
  25.  
  26.  
  27. ------------------ Here a example output: -----------------------
  28.  
  29.  Node 0 at  8000000 Pri=  40 ATT= 505    8741792 Bytes in   376 Chunks     
  30.    182 Chunk(s) with Length >        8 Searchlength =     0
  31.     24 Chunk(s) with Length >       10 Searchlength =     0
  32.     32 Chunk(s) with Length >       20 Searchlength =    82
  33.     31 Chunk(s) with Length >       40 Searchlength =   177
  34.     23 Chunk(s) with Length >       80 Searchlength =   206
  35.     31 Chunk(s) with Length >      100 Searchlength =   207
  36.     13 Chunk(s) with Length >      200 Searchlength =   207
  37.     12 Chunk(s) with Length >      400 Searchlength =   238
  38.     12 Chunk(s) with Length >      800 Searchlength =   249
  39.      6 Chunk(s) with Length >     1000 Searchlength =   280
  40.      3 Chunk(s) with Length >     2000 Searchlength =   285
  41.      5 Chunk(s) with Length >     4000 Searchlength =   285
  42.      1 Chunk(s) with Length >     8000 Searchlength =   374
  43.      1 Chunk(s) with Length >   400000 Searchlength =   375
  44.  Node 1 at     2000 Pri= -10 ATT= 703    2020200 Bytes in     8 Chunks
  45.      1 Chunk(s) with Length >        8 Searchlength =     0
  46.      1 Chunk(s) with Length >       20 Searchlength =     1
  47.      4 Chunk(s) with Length >       40 Searchlength =     1
  48.      1 Chunk(s) with Length >     2000 Searchlength =     6
  49.      1 Chunk(s) with Length >   100000 Searchlength =     7
  50.  
  51. ------------ Now, what's all that stuff above ? -------------------
  52.  
  53. Listed are (up to 32 ;) Memory Nodes in decreasing priority
  54. Node 0 is my 32Bit Fast Mem on the Warpengine Processor Board,
  55. Node 1 is the well used ;) Chip mem.
  56.  
  57. below the Nodes are the memory chunks MemStat has found.
  58.  
  59. Example 1:
  60.  
  61. "   182 Chunk(s) with Length >        8 Searchlength =     0 "
  62. means, that there are 182 MemChunks with a length larger than 0x00000008,
  63. but smaller than 0x00000010. 
  64.  
  65. The  searchlength indicates, how many Entries have to be read to get 
  66. a Block of 8..15 Bytes. (in this case the first try will get a block)
  67.  
  68. Example 2:
  69.  
  70. "     6 Chunk(s) with Length >     1000 Searchlength =   280 "
  71. means, that there are 6 chunks with a length between 0x0001000 and 0x0002000,
  72. and AllocMem will have to search at least 280! MemChunks to get such a 
  73. Block ..
  74.  
  75.  
  76. ------------------------- further versions -------------------------
  77.  
  78. Hmm.. perhaps i should add a little gui.. show the fragmentation 
  79. in a graphic way.. 
  80.  
  81. ------------------------- Authors Adress ---------------------------
  82.  
  83. If you like to contact me...
  84.  
  85. mac@nasus.north.de
  86. mac@casoconf.dontpanic.sub.org
  87.  
  88.  
  89. or by snail
  90.  
  91. A.Haarer
  92. Alexanderstr. 10 
  93. 28203 Bremen
  94.  
  95. Germany
  96.  
  97. --------------------------------------------------------------------
  98.  
  99. thats it :)
  100.